package com.lanou3g.hw0408;

/**
 * If there are no bugs, it was created by Chen FengYao on 2018/4/9;
 * Otherwise, I don't know who created it either
 */

public class Person {
    private String name;
    private String gender;
    private int age;

    public Person() {
    }

    public Person(String name) {
        this.name = name;
    }

    public Person(String name, String gender, int age) {
        this.name = name;
        this.gender = gender;
        this.age = age;

    }

    public void show() {
        System.out.println(name + "," + gender + "," + age);
    }

    public String getName() {
        return name;
    }


    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
